#{extends 'playsienauser/Registration/layout.html' /}

<h1>&{'registration.register_title'}</h1>

#{form @registrationFinish()}

    #{if flash.error}
        <p class="error">
            &{flash.error}
        </p>
    #{/if}
    #{if flash.success}
        <p class="success"> &{flash.success}
        </p>
    #{/if}
    <ul>
        <li>
            <label for="email">&{'registration.email'}</label>
            <input type="text" name="email" id="email" value="${flash.email}" />
            #{ifError 'email'}<span class="error">#{error 'email' /}</span>#{/ifError}
        </li>
        <li>
            <label for="password">&{'registration.password'}</label>
            <input type="password" name="password" id="password" />
            #{ifError 'password'}<span class="error">#{error 'password' /}</span>#{/ifError}
        </li>
        <li>
            <label for="confirm">&{'registration.confirm'}</label>
            <input type="password" name="confirm" id="confirm" />
            #{ifError 'confirm'}<span class="error">#{error 'confirm' /}</span>#{/ifError}
        </li>
        <li>
            #{ugot.recaptcha theme:"clean", tabindex:"2"/}
        </li>
        <li>
            <input type="submit" id="submit" value="&{'registration.register'}" />
        </li>
    </ul>
#{/form}